//本代码文件由代码生成器生成
//时间：2011-03-24 23:46:39

using System;
using System.Collections.Generic;
using System.Text;

namespace GreatB2C.Model
{
    /// <summary>
    /// PE_Users用户表模型类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class Users
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public Int32 UserID
        {
            get;
            set;
        }
        /// <summary>
        /// 用户组ID
        /// </summary>
        public Int32 GroupID
        {
            get;
            set;
        }
        /// <summary>
        /// 对应企业ID
        /// </summary>
        public Int32 CompanyID
        {
            get;
            set;
        }
        /// <summary>
        /// 客户信息Id
        /// </summary>
        public Int32 ClientID
        {
            get;
            set;
        }
        /// <summary>
        /// 会员类别，0－个人会员 1企业会员(创建者) 2企业会员(管理员) 3企业会员(普通成员) 4 企业会员(待审核成员)
        /// </summary>
        public Int32 UserType
        {
            get;
            set;
        }
        /// <summary>
        /// 用户名
        /// </summary>
        public String UserName
        {
            get;
            set;
        }
        /// <summary>
        /// 用户真实姓名
        /// </summary>
        public String TrueName
        {
            get;
            set;
        }
        /// <summary>
        /// 密码
        /// </summary>
        public String UserPassword
        {
            get;
            set;
        }
        /// <summary>
        /// 密码
        /// </summary>
        public String LastPassword
        {
            get;
            set;
        }
        /// <summary>
        /// 提示问题
        /// </summary>
        public String Question
        {
            get;
            set;
        }
        /// <summary>
        /// 提示答案
        /// </summary>
        public String Answer
        {
            get;
            set;
        }
        /// <summary>
        /// 电子邮件
        /// </summary>
        public String Email
        {
            get;
            set;
        }
        /// <summary>
        /// 性别
        /// </summary>
        public Int32 Sex
        {
            get;
            set;
        }
        /// <summary>
        /// 注册时间
        /// </summary>
        public System.DateTime RegTime
        {
            get;
            set;
        }
        /// <summary>
        /// 加入某用户组的时间
        /// </summary>
        public System.DateTime JoinTime
        {
            get;
            set;
        }
        /// <summary>
        /// 登录次数
        /// </summary>
        public Int32 LoginTimes
        {
            get;
            set;
        }
        /// <summary>
        /// 最后登录时间
        /// </summary>
        public System.DateTime LastLoginTime
        {
            get;
            set;
        }
        /// <summary>
        /// 最后赠送积分时间，用于每次登录赠送积分的设置
        /// </summary>
        public System.DateTime LastPresentTime
        {
            get;
            set;
        }
        /// <summary>
        /// 最后登录IP
        /// </summary>
        public String LastLoginIP
        {
            get;
            set;
        }
        /// <summary>
        /// 上次修改密码的时间
        /// </summary>
        public System.DateTime LastPasswordChangedTime
        {
            get;
            set;
        }
        /// <summary>
        /// 上次被锁定的时间
        /// </summary>
        public System.DateTime LastLockoutTime
        {
            get;
            set;
        }
        /// <summary>
        /// 使用无效密码登录的次数，正确登录后置为0
        /// </summary>
        public Int32 FailedPasswordAttemptCount
        {
            get;
            set;
        }
        /// <summary>
        /// 第一次使用无效密码登录的时间
        /// </summary>
        public System.DateTime FirstFailedPasswordAttempTime
        {
            get;
            set;
        }
        /// <summary>
        /// 使用无效答案找回密码的次数
        /// </summary>
        public Int32 FailedPasswordAnswerAttempCount
        {
            get;
            set;
        }
        /// <summary>
        /// 第一次使用无效答案找回密码的时间
        /// </summary>
        public System.DateTime FirstFailedPasswordAnswerAttempTime
        {
            get;
            set;
        }
        /// <summary>
        ///  用户状态。0－－正常，1－－锁定，2－－未通过邮件验证，4－－未通过管理员认证 8－－未通过手机验证
        /// </summary>
        public Int32 Status
        {
            get;
            set;
        }
        /// <summary>
        /// 验证码。用于邮件验证
        /// </summary>
        public String CheckNum
        {
            get;
            set;
        }
        /// <summary>
        /// 是否允许用户修改密码
        /// </summary>
        public Boolean EnableResetPassword
        {
            get;
            set;
        }
        /// <summary>
        /// 用户语言
        /// </summary>
        public String UserCultureName
        {
            get;
            set;
        }
        /// <summary>
        /// 用户头像
        /// </summary>
        public String UserFace
        {
            get;
            set;
        }
        /// <summary>
        /// 头像宽度
        /// </summary>
        public Int32 FaceWidth
        {
            get;
            set;
        }
        /// <summary>
        /// 头像高度
        /// </summary>
        public Int32 FaceHeight
        {
            get;
            set;
        }
        /// <summary>
        /// 用户签名
        /// </summary>
        public String Sign
        {
            get;
            set;
        }
        /// <summary>
        /// 隐私设置
        /// </summary>
        public Int32 PrivacySetting
        {
            get;
            set;
        }
        /// <summary>
        /// 资金余额
        /// </summary>
        public System.Decimal Balance
        {
            get;
            set;
        }
        /// <summary>
        /// 用户点券数
        /// </summary>
        public Int32 UserPoint
        {
            get;
            set;
        }
        /// <summary>
        /// 用户积分
        /// </summary>
        public Int32 UserExp
        {
            get;
            set;
        }
        /// <summary>
        /// 消费的金额
        /// </summary>
        public System.Decimal ConsumeMoney
        {
            get;
            set;
        }
        /// <summary>
        /// 消费的点券数
        /// </summary>
        public Int32 ConsumePoint
        {
            get;
            set;
        }
        /// <summary>
        /// 消费的积分数
        /// </summary>
        public Int32 ConsumeExp
        {
            get;
            set;
        }
        /// <summary>
        /// 添加的信息数
        /// </summary>
        public Int32 PostItems
        {
            get;
            set;
        }
        /// <summary>
        /// 审核通过的信息数
        /// </summary>
        public Int32 PassedItems
        {
            get;
            set;
        }
        /// <summary>
        /// 被退稿的信息数
        /// </summary>
        public Int32 RejectItems
        {
            get;
            set;
        }
        /// <summary>
        /// 被删除的信息数
        /// </summary>
        public Int32 DelItems
        {
            get;
            set;
        }
        /// <summary>
        /// 有效期开始计算时间
        /// </summary>
        public System.DateTime EndTime
        {
            get;
            set;
        }
        /// <summary>
        /// 是否继承用户组权限，默认为true
        /// </summary>
        public Boolean IsInheritGroupRole
        {
            get;
            set;
        }
        /// <summary>
        /// 用户权限
        /// </summary>
        public String UserSetting
        {
            get;
            set;
        }
        /// <summary>
        /// 用户好友组
        /// </summary>
        public String UserFriendGroup
        {
            get;
            set;
        }
        /// <summary>
        /// 支付密码
        /// </summary>
        public String PayPassword
        {
            get;
            set;
        }
        /// <summary>
        /// 是否不再显示用户升级提示信息，默认为false
        /// </summary>
        public Boolean IsShowUpgradeTipsFalse
        {
            get;
            set;
        }
        /// <summary>
        /// 上次添加点券的时间
        /// </summary>
        public System.DateTime LastAddPointTime
        {
            get;
            set;
        }
        /// <summary>
        /// 支付宝用户ID
        /// </summary>
        public String Alipay_UserID
        {
            get;
            set;
        }
        /// <summary>
        /// 问答积分
        /// </summary>
        public Int32 QAPoint
        {
            get;
            set;
        }
        /// <summary>
        /// 取回密码随机串
        /// </summary>
        public String GetPasswordSid
        {
            get;
            set;
        }
        /// <summary>
        /// 上次取回密码时间
        /// </summary>
        public System.DateTime GetPasswordTime
        {
            get;
            set;
        }
        /// <summary>
        /// 用户问答头衔
        /// </summary>
        public Int32 HonorType
        {
            get;
            set;
        }
        /// <summary>
        /// Widget配置数据
        /// </summary>
        public String WidgetSetting
        {
            get;
            set;
        }
        /// <summary>
        /// Widget参数配置数据
        /// </summary>
        public String WidgetPara
        {
            get;
            set;
        }
    }
}
